package com.iweb.oasys.service;

import com.iweb.oasys.util.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.sql.SQLException;

public interface UserService {
    /**
     * 处理用户登录请求的方法
     * @param request   接收一个请求报文对象
     * @return          返回一个响应体对象
     */
    ResponseBody login(HttpServletRequest request) throws SQLException;
}
